package com.scores.service;


import com.scores.pojo.Score;
import com.scores.pojo.ThreeS;

import java.util.List;
import java.util.Map;

public interface ScoreService {

    int getScoreCount(String name);

    List<ThreeS> getAllScoresByPage(String name, Integer page, Integer size);

    int updateScore(ThreeS threeS);

    int addScore(Score score);

    int deleteScore(Integer scoreId);

    List<ThreeS> getTotalScore();

    List<ThreeS> getScoreByStudentNo(Integer studentNo, Integer page, Integer limit);
}